1   /************************************************************
2   *                     Copyright                            *
3   * Portions of this software are Copyright (c) 1993 - 2002, *
4   * Chad Z. Hower (Kudzu) and the Indy Pit Crew              *
5   *  - http://www.nevrona.com/Indy/                          *
6   ************************************************************/
7   package org.indy;
8   
9   import org.indy.util.IndyUtilities;
10  
11  
12  /***
13   *  IdStatus
14   *
15   *@author    OTG
16   *@version   1.0
17   */
18  public final class Status {
19    /***
20     *  Description of the Field
21     */
22    public final static Status RESOLVING = new Status("RSStatusResolving");
23  
24    /***
25     *  Description of the Field
26     */
27    public final static Status CONNECTING = new Status("RSStatusConnecting");
28  
29    /***
30     *  Description of the Field
31     */
32    public final static Status CONNECTED = new Status("RSStatusConnected");
33  
34    /***
35     *  Description of the Field
36     */
37    public final static Status DISCONNECTING = new Status("RSStatusDisconnecting");
38  
39    /***
40     *  Description of the Field
41     */
42    public final static Status DISCONNECTED = new Status("RSStatusDisconnected");
43  
44    /***
45     *
46     */
47    private String stringVal = null;
48  
49    private Status(String s) {
50      stringVal = IndyUtilities.getResourceString(s);
51    }
52  
53    /***
54     *  Description of the Method
55     *
56     *@return    Description of the Return Value
57     */
58    public String toString() {
59      return stringVal;
60    }
61  }
This page was automatically generated by Maven